package com.ruoyi.project.mydy.movieinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 电影信息对象 dl_movie_info
 * 
 * @author mhg
 * @date 2021-10-10
 */
public class DlMovieInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 电影名称 */
    @Excel(name = "电影名称")
    private String name;

    /** 电影封面图片 */
    @Excel(name = "电影封面图片")
    private String imagePath;

    /** 类型 id */
    @Excel(name = "类型 id")
    private Long kindId;

    /** 制片国家/区域 id */
    @Excel(name = "制片国家/区域 id")
    private Long regionId;

    /** 年代分类id */
    @Excel(name = "年代分类id")
    private Long yearsId;

    /** 语言 */
    @Excel(name = "语言")
    private String language;

    /** 上映日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上映日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date screenDate;

    /** 片长（单位：分钟） */
    @Excel(name = "片长", readConverterExp = "单=位：分钟")
    private Long length;

    /** 电影别名 */
    @Excel(name = "电影别名")
    private String alias;

    /** 出品方 */
    @Excel(name = "出品方")
    private String produce;

    /** 剧情介绍 */
    @Excel(name = "剧情介绍")
    private String plotIntroduction;

    /** 电影原声推广曲文件路径 */
    @Excel(name = "电影原声推广曲文件路径")
    private String movieSong;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setImagePath(String imagePath)
    {
        this.imagePath = imagePath;
    }

    public String getImagePath()
    {
        return imagePath;
    }
    public void setKindId(Long kindId)
    {
        this.kindId = kindId;
    }

    public Long getKindId()
    {
        return kindId;
    }
    public void setRegionId(Long regionId)
    {
        this.regionId = regionId;
    }

    public Long getRegionId()
    {
        return regionId;
    }
    public void setYearsId(Long yearsId)
    {
        this.yearsId = yearsId;
    }

    public Long getYearsId()
    {
        return yearsId;
    }
    public void setLanguage(String language)
    {
        this.language = language;
    }

    public String getLanguage()
    {
        return language;
    }
    public void setScreenDate(Date screenDate)
    {
        this.screenDate = screenDate;
    }

    public Date getScreenDate()
    {
        return screenDate;
    }
    public void setLength(Long length)
    {
        this.length = length;
    }

    public Long getLength()
    {
        return length;
    }
    public void setAlias(String alias)
    {
        this.alias = alias;
    }

    public String getAlias()
    {
        return alias;
    }
    public void setProduce(String produce)
    {
        this.produce = produce;
    }

    public String getProduce()
    {
        return produce;
    }
    public void setPlotIntroduction(String plotIntroduction)
    {
        this.plotIntroduction = plotIntroduction;
    }

    public String getPlotIntroduction()
    {
        return plotIntroduction;
    }
    public void setMovieSong(String movieSong)
    {
        this.movieSong = movieSong;
    }

    public String getMovieSong()
    {
        return movieSong;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("imagePath", getImagePath())
            .append("kindId", getKindId())
            .append("regionId", getRegionId())
            .append("yearsId", getYearsId())
            .append("language", getLanguage())
            .append("screenDate", getScreenDate())
            .append("length", getLength())
            .append("alias", getAlias())
            .append("produce", getProduce())
            .append("plotIntroduction", getPlotIntroduction())
            .append("movieSong", getMovieSong())
            .append("createTime", getCreateTime())
            .toString();
    }
}
